package com.wit.service;

import java.util.List;
import org.hibernate.criterion.DetachedCriteria;
import com.wit.po.Company;

public interface CompanyService {

	public boolean addCompany(Company company);
	
	public boolean deleteCompany(Company company);
	
	public boolean modifyCompany(Company company);
	
	public Company findCompanyByIdenfier(String companyNum);
	
	public List<Company> findCompanyByCondition(DetachedCriteria dc, Integer startRecord, Integer pageSize);
	
	public List<Company> findAllCompany();
	
	public Integer findCompanyCount(DetachedCriteria dc);
}
